import axios from 'axios'

export function getCurdList() {
    return axios.get("/app/demo/curd/list")
}
export function doCurdAdd(p) {
    return axios.post('/app/demo/curd',p)
}

export function doCurdEdit(p) {
    return axios.put('/app/demo/curd',p)
}

export function doCurdDelete(p) {
    return axios.delete('/app/demo/curd'+p.id)
}